Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: solved bulk issuance and with email issuance flow #565

Merged
merged 4 commits into from
Mar 5, 2024

Conversation

KulkarniShashank
Copy link
Contributor

  • Solved bulk issuance when upload csv and issue the credentials

protocolVersion: protocolVersion || 'v1',
credentialFormats: {
indy: {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason to disable eslint?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to eliminate the isRequired attribute from the payload to avoid mapping unnecessary attributes as required. Therefore, we should create a separate variable for isRequired and ensure that it is not utilized within this function.

}
return this.sendEmailForCredentialOffer(sendEmailCredentialOffer);
});
emailPromises.push(Promise.all(batchPromises));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure how it will handle the remaining batch if the 1st batch will fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will check the possibilities for validation and we will create separate PR for it.

apps/issuance/src/issuance.service.ts Show resolved Hide resolved
Copy link

sonarcloud bot commented Mar 4, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@KulkarniShashank KulkarniShashank merged commit bcb42b4 into develop Mar 5, 2024
2 checks passed
@KulkarniShashank KulkarniShashank deleted the fix/bulk-issuance branch March 8, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants